package cn.com.lms.business.examRewrite.service;

import cn.com.lms.business.examRewrite.persistence.entity.UserReWrite;
import cn.com.lms.business.examRewrite.persistence.repository.UserReWriteDao;
import com.bnzj.core.persistence.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserReWriteService extends BaseService<UserReWriteDao, UserReWrite,Long> {

    /**
     * 通过id获取人员Employee
     * @param id
     * @return
     */
    public List<UserReWrite> getEmployeeById(Long id) {
        return repository.getEmployeeById(id);
    }
}
